package com.itheima.demo3;

public class Girl {
    private String name;
    private double hight;
    private double weight;

    public Girl(){}
    public Girl(String name,double hight,double weight){
        this.name = name;
        this.hight = hight;
        this.weight = weight;
    }

    public void setName(String name){
        this.name = name;
    }
    public void setHight(double hight){
        this.hight = hight;
    }
    public void setWeight(double weight){
        this.weight = weight;
    }

    public String getName(){
        return name;
    }
    public double getHight(){
        return hight;
    }
    public double getWeight(){
        return weight;
    }

    public void wash(){
        System.out.println(name + "在帮我洗衣服");
    }
    public void cook(){
        System.out.println(name + "在给我做饭");
    }
    public void show(){
        System.out.println("我女朋友叫"+getName()+",身高"+getHight()+"厘米,"+ "体重"+getWeight()+"斤");
    }
}
